home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gKnobSprite, gSendMovie, gCursorReady, gKnobState, gplaybtnsprite, gFNEngBtnSprite, gPcVidSprite
- gplaybtnsprite = 0
- gFNEngBtnSprite = 24
- gPcVidSprite = 11
- puppetSprite(gFNEngBtnSprite, 1)
- puppetSprite(48, 1)
- gCursorReady = 1
- gKnobSprite = 14
- gSendMovie = "05p4"
- gKnobState = 1
- puppetSprite(gKnobSprite, 1)
- setUpKnob()
- sprite(34).visible = 0
- set the mouseDownScript to EMPTY
- set the mouseUpScript to EMPTY
- end
-
- on stopMovie
- global gplaybtnsprite, gFNEngBtnSprite, zeoIdle
- puppetSprite(gFNEngBtnSprite, 0)
- stopmovieqt()
- gplaybtnsprite = 23
- zeoIdle = 0
- when timeOut then nothing
- end
-
- on idle
- global gCursorReady
- if gCursorReady = 1 then
- cursor(200)
- checkCursors()
- set the locH of sprite 48 to the mouseH
- set the locV of sprite 48 to the mouseV
- updateStage()
- end if
- qtidle()
- end
-
- on checkCursors
- global gMagCursor, zeoIdle
- gMagCursor = "magCursor"
- setzeoIdle()
- set the castNum of sprite 48 to the number of member "curs1"
- if the castNum of sprite 5 and (rollOver(5) and not zeoIdle) then
- set the castNum of sprite 48 to the number of member gMagCursor
- end if
- if the castNum of sprite 8 and rollOver(8) then
- set the castNum of sprite 48 to the number of member "deMagCursor"
- end if
- if the castNum of sprite 10 and (rollOver(10) and not zeoIdle) then
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- if the castNum of sprite 12 and rollOver(12) then
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- repeat with i = 15 to 17
- if rollOver(i) then
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- end repeat
- if rollOver(18) then
- if zeoIdle then
- set the castNum of sprite 48 to the number of member "nonCursor"
- else
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- end if
- repeat with i = 30 to 32
- if rollOver(i) then
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- end repeat
- if rollOver(34) and (sprite(34).visible = 1) and not zeoIdle then
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- repeat with i = 40 to 41
- if rollOver(i) and not zeoIdle then
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- end repeat
- if rollOver(42) then
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- if the castNum of sprite 47 and rollOver(47) then
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- end
-
- on setzeoIdle
- global gPcVidSprite, zeoIdle
- zeoIdle = 0
- if the memberNum of sprite gPcVidSprite > 0 then
- if sprite(gPcVidSprite).movieRate > 0 then
- zeoIdle = 1
- end if
- end if
- end
-